package com.ghck.shop.model;

public class OrderConstant {

    private Integer orderStatus;
    private String orderMessage;
    
    public OrderConstant(Integer orderStatus, String orderMessage) {
        this.orderStatus = orderStatus;
        this.orderMessage = orderMessage;
    }
    
    /**
	 * @return the orderStatus
	 */
	public Integer getOrderStatus() {
		return orderStatus;
	}
	/**
	 * @param orderStatus the orderStatus to set
	 */
	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}
	/**
	 * @return the orderMessage
	 */
	public String getOrderMessage() {
		return orderMessage;
	}
	/**
	 * @param orderMessage the orderMessage to set
	 */
	public void setOrderMessage(String orderMessage) {
		this.orderMessage = orderMessage;
	}
	
	/**
	 * 无效订单
	 */
	public static final OrderConstant ORDER_STATUS_INVALID = new OrderConstant(-3, "无效订单");
	/**
	 * 过期取消
	 */
	public static final OrderConstant ORDER_STATUS_EXPIRED = new OrderConstant(-2, "过期取消");
	/**
	 * 已取消
	 */
	public static final OrderConstant ORDER_STATUS_CANCELED = new OrderConstant(-1, "已取消");
	/**
	 * 未确认
	 */
	public static final OrderConstant ORDER_STATUS_UNCONFIRMED = new OrderConstant(0, "未确认");
	/**
	 * 已确认
	 */
	public static final OrderConstant ORDER_STATUS_CONFIRMED = new OrderConstant(1, "已确认");
	/**
	 * 已完成
	 */
	public static final OrderConstant ORDER_STATUS_COMPLETED = new OrderConstant(2, "已完成");
	
	/**
	 * 未支付
	 */
	public static final OrderConstant PAY_STATUS_NON_PAYMENT = new OrderConstant(0, "未支付");
	
	/**
	 * 已支付
	 */
	public static final OrderConstant PAY_STATUS_PREPAID = new OrderConstant(1, "已支付");
	
	/**
	 * 货到付款
	 */
	public static final OrderConstant PAY_STATUS_CASH_ON_DELIVERY = new OrderConstant(2, "货到付款");
	
	/**
	 * 未发货
	 */
	public static final OrderConstant SHIPPING_STATUS_UNFILLED = new OrderConstant(0, "未发货");
	/**
	 * 已发货
	 */
	public static final OrderConstant SHIPPING_STATUS_SHIPPED = new OrderConstant(1, "已发货");
	/**
	 * 已收货
	 */
	public static final OrderConstant SHIPPING_STATUS_RECEIVED = new OrderConstant(2, "已收货");
	
	/**
	 * 订单类型--实体商品
	 */
	public static final OrderConstant ORDER_TYPE_REAL = new OrderConstant(1, "实体商品");
	/**
	 * 订单类型--服务订单
	 */
	public static final OrderConstant ORDER_TYPE_SERVICE = new OrderConstant(2, "服务订单");
	/**
	 * 订单类型--处方药品
	 */
	public static final OrderConstant ORDER_TYPE_PRESCRIPTION = new OrderConstant(3, "服务订单");
    
}